package com.mxc.client.splatterclient.annotations;

import com.mxc.client.splatterclient.configurations.AuthConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;


/**
 *  @author: 扶摇
 *  @Date: 2020/9/14 11:53 下午
 *  @Description:
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Import({AuthConfiguration.class})
@Documented
public @interface EnableAuth {
    /**鉴权服务器地址，ip:port*/
    String authServerAddr() ;
    /**本应用在授权服务器上注册的应用名称*/
    String appName() ;
    /**鉴权服务器控制台添加本应用时返回的通信秘钥*/
    String appKey() ;
}
